package com.reagent.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.reagent.system.entity.Goods;
import com.reagent.system.entity.vo.QyeryInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface GoodsMapper extends BaseMapper<Goods> {

    List<Goods> getGoodsInfoUid(@Param("queryinfo") QyeryInfo qyeryInfo, @Param("uid") Integer uid);

    List<Goods> getGoodsInfoAll(@Param("queryinfo") QyeryInfo qyeryInfo);

    Integer batchInsert(List<Goods> list);

    Integer updateStatus1(Integer id);

    Integer updateStatus0(Integer id);

}
